package org.HU.train.business.service.sentinel;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;

/**
 * @Author ZUZ
 * @Description: 测试sentinel
 * @Date 2024-12-26 13:07
 * @ClassName: TestService
 */
@Service
public class TestService {

    @SentinelResource("hello2")
    public void hello2() throws InterruptedException {
        Thread.sleep(500);
    }
}
